import {createRouter, createWebHistory} from 'vue-router'
import HomeView from '../page/index.vue'
import Select from '../page/select.vue'
import window from '../page/window.vue'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'home',
            component: HomeView
        }, {
            path: '/select',
            name: 'select',
            component: Select
        }, {
            path: '/window',
            name: 'window',
            component: window
        },
    ]
})

export default router
